CONSOLE: The console is useful for quickly outputting information to debug or understand a program. Let's try it out!

  • This program scrambles any text! Click Run to see what it does to this string: "scramble this"
  • Let's see how it works! Use Print Variable in to print characters each time the loop runs.
  • The console can also accept user input! Use the code in the Input Text tool so that input_string stores the user's input instead of the string "scramble this". Click Run and enter text you want to scramble!

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)